From 4e37d56d518f7aa3d21757ce502ab154128a3a11 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 8 Feb 2012 16:09:15 -0500 Subject: [PATCH] themingengine: move _gtk_theming_engine_set_context to private header Where it belongs. --- gtk/gtkstylecontext.c | 2 +- gtk/gtkthemingengine.h | 3 --- gtk/gtkthemingengineprivate.h | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index e497d1f249..0610d13af9 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -27,7 +27,7 @@ #include "gtkstylecontextprivate.h" #include "gtkstylepropertiesprivate.h" #include "gtktypebuiltins.h" -#include "gtkthemingengine.h" +#include "gtkthemingengineprivate.h" #include "gtkintl.h" #include "gtkwidget.h" #include "gtkwindow.h" diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h index d3f6c83cb7..8613264ec0 100644 --- a/gtk/gtkthemingengine.h +++ b/gtk/gtkthemingengine.h @@ -182,9 +182,6 @@ struct _GtkThemingEngineClass GType gtk_theming_engine_get_type (void) G_GNUC_CONST; -void _gtk_theming_engine_set_context (GtkThemingEngine *engine, - GtkStyleContext *context); - /* function implemented in gtkcsscustomproperty.c */ void gtk_theming_engine_register_property (const gchar *name_space, GtkStylePropertyParser parse_func, diff --git a/gtk/gtkthemingengineprivate.h b/gtk/gtkthemingengineprivate.h index 10db6f7470..02c8969eab 100644 --- a/gtk/gtkthemingengineprivate.h +++ b/gtk/gtkthemingengineprivate.h @@ -33,5 +33,7 @@ const GValue *_gtk_theming_engine_peek_property (GtkThemingEngine *engine, double _gtk_theming_engine_get_number (GtkThemingEngine *engine, const char *property_name, double one_hundred_percent); +void _gtk_theming_engine_set_context (GtkThemingEngine *engine, + GtkStyleContext *context); #endif /* __GTK_THEMING_ENGINE_PRIVATE_H__ */ -- 2.30.2